package com.sky.bo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 修改密码bo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("修改密码入参")
public class EditPassWordBo implements Serializable {

    //旧密码
    @NotBlank(message ="旧密码不能为空！")
    private String oldPassword;

    //新密码
    @NotBlank(message = "新密码不能为空！")
    private String newPassword;
}
